package org.rapan.EJB;

import java.util.Date;
import java.util.Set;

import javax.ejb.Local;


import org.rapan.exceptions.CreateReportException;
import org.rapan.jpa.Company;
import org.rapan.jpa.Consultant;
import org.rapan.jpa.Report;

@Local
public interface ReportInt {
	void createReport(Company company, Consultant consultant, Date startDate,
			Date endDate, short HPD) throws CreateReportException;
	
	Report viewReport (long id);
	
	Set<Report> getAllReportsForConsultant(Consultant consultant);
	
	double getSum(Report r);
}
